package com.itheima.dao.service.impl;

import com.itheima.dao.UserDao;
import com.itheima.dao.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


@Component("userService")
public class UserServicelmpl implements UserService {

    @Autowired
    private UserDao userDao;


    public void save(){
        userDao.save();
        System.out.println("UserServiceImpl.save");
    }
}
